// /v1/admin/pay/GetPayList

import { request } from '@umijs/max';

/**
 * 用户列表
 * @param {*} params
 * @returns
 */
export const getPayList = (params) =>
  request('admin/pay/GetPayList', { params });

/**
 * 用户列表
 * @param {*} params
 * @returns
 */
export const getSmsList = (params) =>
  request('admin/sms/GetSmsList', { params });

/**
 * 充值
 * @param {*} params
 * @returns
 */
export const createPay = (data) =>
  request('admin/pay/CreatePay', { method: 'post', data });
